package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PswarningDao;
import com.bootdo.screen.domain.PswarningDO;
import com.bootdo.screen.service.PswarningService;



@Service
public class PswarningServiceImpl implements PswarningService {
	@Autowired
	private PswarningDao pswarningDao;
	
	@Override
	public PswarningDO get(Integer id){
		return pswarningDao.get(id);
	}
	
	@Override
	public List<PswarningDO> list(Map<String, Object> map){
		return pswarningDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return pswarningDao.count(map);
	}
	
	@Override
	public int save(PswarningDO pswarning){
		return pswarningDao.save(pswarning);
	}
	
	@Override
	public int update(PswarningDO pswarning){
		return pswarningDao.update(pswarning);
	}
	
	@Override
	public int remove(Integer id){
		return pswarningDao.remove(id);
	}

	@Override
	public int batchRemove(Integer[] ids){
		return pswarningDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(PswarningDO pswarn) {
		return pswarningDao.saveUpdate(pswarn);
	}
	
}
